import { BasePageQo } from '@/base/api/BaseQo'

export type SysApiListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  platformType: string
  name: string
  url: string
  controlType: number
  method: string
  moduleName: string
  enable: boolean
  remark?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysApiDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  platformType: string
  name: string
  url: string
  controlType: number
  method: string
  moduleName: string
  enable: boolean
  remark?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysApiSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  platformType?: string
  name?: string
  url?: string
  controlType?: number
  method?: string
  moduleName?: string
  enable?: boolean
  remark?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysApiEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  platformType?: string
  name?: string
  url?: string
  controlType?: number
  method?: string
  moduleName?: string
  enable?: boolean
  remark?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- editQo -) End ]]
}
